package com.example.certificate.service;

import com.example.certificate.dto.RoleDto;
import com.example.certificate.dto.common.DelByIdDto;
import com.example.certificate.entity.SysRoleJurisdiction;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.certificate.entity.User;
import com.example.certificate.utils.ResultEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hao
 * @since 2022-02-24 15:05:25
 */
public interface SysRoleJurisdictionService extends IService<SysRoleJurisdiction> {

    /**
     * @Author Hao
     * @Description  用户权限配置
     * @Date 2022/2/24
     * @Param [dto, user]
     * @return com.example.certificate.utils.ResultEntity
     **/
    public ResultEntity insertRole(RoleDto dto);

    /**
     * @Author Hao
     * @Description  查询用户角色信息
     * @Date 2022/2/24
     * @Param [dto]
     * @return java.util.List<com.example.certificate.entity.SysRoleJurisdiction>
     **/
    public List<String> getRoleData(DelByIdDto dto);
}
